package com.ssh.service;

import java.sql.SQLException;
import java.util.List;

import com.ssh.entity.Emp;

public interface Empservice {

	public void add(Emp emp) throws RuntimeException;
	
	public void modify(Emp emp) throws RuntimeException;
	
	public void remove(int id) throws RuntimeException;
	
	public List<Emp> getImps() throws RuntimeException;
	
	public Emp getImp(int id) throws RuntimeException;
	
	public Emp getImpUsername(String username) throws RuntimeException;
}
